<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>登录成功</title>
</head>
<body>
    <script type="text/javascript">
        window.onload = function () {
            <?php if(isset($to_url)){?>
        		this.parent.parent.location.href = "<?php echo $to_url;?>";
        	<?php }else{?>
                this.parent.parent.location.reload();
        	<?php }?>
        }
    </script>
</body>
</html>